home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
Sound.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
7KB
|
193 lines
/*
File: Sound.idl
Contains: Sound Manager Interfaces.
Version: Technology: Sound Manager 3.1
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __SOUND_IDL__
#define __SOUND_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __COMPONENTS_IDL__
#include <Components.idl>
#endif
#ifndef __MIXEDMODE_IDL__
#include <MixedMode.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/*
* * * N O T E * * *
This file has been updated to include Sound Manager 3.2 interfaces.
Some of the Sound Manager 3.0 interfaces were not put into the InterfaceLib
that originally shipped with the PowerMacs. These missing functions and the
new 3.2 interfaces have been released in the SoundLib library for PowerPC
developers to link with. The runtime library for these functions are
installed by Sound Manager 3.2. The following functions are found in SoundLib.
GetCompressionInfo(), GetSoundPreference(), SetSoundPreference(),
UnsignedFixedMulDiv(), SndGetInfo(), SndSetInfo(), GetSoundOutputInfo(),
SetSoundOutputInfo(), GetCompressionName(), SoundConverterOpen(),
SoundConverterClose(), SoundConverterGetBufferSizes(), SoundConverterBeginConversion(),
SoundConverterConvertBuffer(), SoundConverterEndConversion()
*/
/*
Interfaces for Sound Driver, !!! OBSOLETE and NOT SUPPORTED !!!
These items are no longer defined, but appear here so that someone
searching the interfaces might find them. If you are using one of these
items, you must change your code to support the Sound Manager.
swMode, ftMode, ffMode
FreeWave, FFSynthRec, Tone, SWSynthRec, Wave, FTSoundRec
SndCompletionProcPtr
StartSound, StopSound, SoundDone
*/
/*channel initialization parameters*/
#if OLDROUTINENAMES
#endif
/*unsigned fixed-point number*/
typedef unsigned long UnsignedFixed;
typedef SOMLargeStruct SndCommand; /* Derived from a struct of 8 bytes in size */
typedef OpaquePtr SndChannelPtr; /* Substituted OpaquePtr for ``SndChannel*'' */
typedef OpaquePtr SndCallBackProcPtr;
typedef OpaquePtr SndCallBackUPP;
typedef SOMLargeStruct SndChannel; /* Derived from a struct of 1060 bytes in size */
/*MACE structures*/
typedef SOMLargeStruct StateBlock; /* Derived from a struct of 128 bytes in size */
typedef OpaquePtr StateBlockPtr; /* Substituted OpaquePtr for ``StateBlock*'' */
typedef SOMLargeStruct LeftOverBlock; /* Derived from a struct of 36 bytes in size */
typedef OpaquePtr LeftOverBlockPtr; /* Substituted OpaquePtr for ``LeftOverBlock*'' */
typedef SOMLargeStruct ModRef; /* Derived from a struct of 6 bytes in size */
typedef SOMLargeStruct SndListResource; /* Derived from a struct of 21 bytes in size */
typedef OpaquePtr SndListPtr; /* Substituted OpaquePtr for ``SndListResource*'' */
typedef OpaquePtr SndListHndl; /* Substituted OpaquePtr for ``SndListPtr*'' */
typedef OpaquePtr SndListHandle; /* Substituted OpaquePtr for ``SndListPtr*'' */
/*HyperCard sound resource format*/
typedef SOMLargeStruct Snd2ListResource; /* Derived from a struct of 15 bytes in size */
typedef OpaquePtr Snd2ListPtr; /* Substituted OpaquePtr for ``Snd2ListResource*'' */
typedef OpaquePtr Snd2ListHndl; /* Substituted OpaquePtr for ``Snd2ListPtr*'' */
typedef OpaquePtr Snd2ListHandle; /* Substituted OpaquePtr for ``Snd2ListPtr*'' */
typedef SOMLargeStruct SoundHeader; /* Derived from a struct of 23 bytes in size */
typedef OpaquePtr SoundHeaderPtr; /* Substituted OpaquePtr for ``SoundHeader*'' */
typedef SOMLargeStruct CmpSoundHeader; /* Derived from a struct of 65 bytes in size */
typedef OpaquePtr CmpSoundHeaderPtr; /* Substituted OpaquePtr for ``CmpSoundHeader*'' */
typedef SOMLargeStruct ExtSoundHeader; /* Derived from a struct of 65 bytes in size */
typedef OpaquePtr ExtSoundHeaderPtr; /* Substituted OpaquePtr for ``ExtSoundHeader*'' */
typedef SOMLargeStruct ConversionBlock; /* Derived from a struct of 12 bytes in size */
typedef OpaquePtr ConversionBlockPtr; /* Substituted OpaquePtr for ``ConversionBlock*'' */
typedef SOMLargeStruct SMStatus; /* Derived from a struct of 6 bytes in size */
typedef OpaquePtr SMStatusPtr; /* Substituted OpaquePtr for ``SMStatus*'' */
typedef SOMLargeStruct SCStatus; /* Derived from a struct of 24 bytes in size */
typedef OpaquePtr SCStatusPtr; /* Substituted OpaquePtr for ``SCStatus*'' */
typedef SOMLargeStruct AudioSelection; /* Derived from a struct of 12 bytes in size */
typedef OpaquePtr FilePlayCompletionProcPtr;
typedef OpaquePtr FilePlayCompletionUPP;
typedef OpaquePtr AudioSelectionPtr; /* Substituted OpaquePtr for ``AudioSelection*'' */
typedef SOMLargeStruct SndDoubleBuffer; /* Derived from a struct of 17 bytes in size */
typedef OpaquePtr SndDoubleBufferPtr; /* Substituted OpaquePtr for ``SndDoubleBuffer*'' */
typedef OpaquePtr SndDoubleBackProcPtr;
typedef OpaquePtr SndDoubleBackUPP;
typedef SOMLargeStruct SndDoubleBufferHeader; /* Derived from a struct of 24 bytes in size */
typedef OpaquePtr SndDoubleBufferHeaderPtr; /* Substituted OpaquePtr for ``SndDoubleBufferHeader*'' */
typedef SOMLargeStruct SndDoubleBufferHeader2; /* Derived from a struct of 28 bytes in size */
typedef OpaquePtr SndDoubleBufferHeader2Ptr; /* Substituted OpaquePtr for ``SndDoubleBufferHeader2*'' */
typedef SOMLargeStruct SoundInfoList; /* Derived from a struct of 6 bytes in size */
typedef OpaquePtr SoundInfoListPtr; /* Substituted OpaquePtr for ``SoundInfoList*'' */
typedef SOMLargeStruct SoundComponentData; /* Derived from a struct of 28 bytes in size */
typedef OpaquePtr SoundComponentDataPtr; /* Substituted OpaquePtr for ``SoundComponentData*'' */
typedef SOMLargeStruct CompressionInfo; /* Derived from a struct of 20 bytes in size */
typedef OpaquePtr CompressionInfoPtr; /* Substituted OpaquePtr for ``CompressionInfo*'' */
typedef OpaquePtr CompressionInfoHandle; /* Substituted OpaquePtr for ``CompressionInfoPtr*'' */
/*private thing to use as a reference to a Sound Converter*/
typedef OpaquePtr SoundConverter;
#if FOR_SYSTEM7_ONLY
/*
These two routines for Get/SetSoundVol should no longer be used.
They were for old Apple Sound Chip machines, and do not support the DSP or PowerMacs.
Use Get/SetDefaultOutputVolume instead, if you must change the user's machine.
*/
#if OLDROUTINENAMES && !GENERATINGCFM
#endif
#endif
#if OLDROUTINENAMES
#endif
/* Sound Manager 2.0 and later, uses _SoundDispatch */
/* MACE compression routines */
/* Sound Manager 3.0 and later calls */
/* Sound Manager 3.1 and later calls */
/* Sound Manager 3.2 and later calls */
#endif
#endif /* __SOMIDL__ */
#endif /* __SOUND_IDL__ */